//
//  ZJHongBaoJieguoVC.m
//  这家测试项目
//
//  Created by IOS_DEVELOPER on 2017/7/14.
//  Copyright © 2017年 陈志凌. All rights reserved.
//

#import "ZJHongBaoJieguoVC.h"

@interface ZJHongBaoJieguoVC ()
@property (weak, nonatomic) IBOutlet UILabel *moneyLabel;
@property (weak, nonatomic) IBOutlet UIButton *againBtn;
@property (weak, nonatomic) IBOutlet UIImageView *bgImg;

@end

@implementation ZJHongBaoJieguoVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.againBtn.layer.masksToBounds = YES;
    self.againBtn.layer.cornerRadius = 18.0f;
    
    self.moneyLabel.text = @"";
    self.view.backgroundColor = [UIColor colorWithWhite:0.f alpha:0.3];
    if (self.moneyStr) {
        self.moneyLabel.text = [NSString stringWithFormat:@"%@元现金",self.moneyStr];
        self.bgImg.image = [UIImage imageNamed:@"qhb_pic_qd"];
    }
    
    if (!self.isBig) {
        [self.againBtn setTitle:@"返回" forState:0];
    }
}

- (IBAction)againBtn:(id)sender {
    
    [self dismissViewControllerAnimated:YES completion:nil];
}


@end
